
import pandas as pd;



data=pd.read_csv('selected.csv')

count=0
data['a']=data['vote_average']*data['vote_count']
data.sum()
print(3.3804e+07/4.99593e+06)

data= pd.read_csv('./merge1.csv',sep=';')

x=pd.qcut(data['popularity'],[0,0.2,0.4,0.6,0.8,1.0])
x1=pd.qcut(data['releaseDate'],[0,0.2,0.4,0.6,0.8,1.0])
x=pd.qcut(data['popularity'],[0,0.2,0.4,0.6,0.8,1.0])
x=pd.qcut(data['popularity'],[0,0.2,0.4,0.6,0.8,1.0])